$bool = Fs.IsFolder
("<folderName>")
Checks for the existence of a particular folder.
Parameters
<folderName> The name of the folder to be checked.
Return Value
Returns 1 if the folder exists, else returns 0.
Remarks
- If full path is indicated, then it checks for the folder in that location.
- If only the folder name is mentioned then it checks for it in the current location containing the script.
Example
$src = "C:\Plugins\Time"
$ret = fs.IsFolder ($src)